//
//  TargetLevelView.h
//  BondWatch
//
//  Created by Jason Yuan on 2/25/16.
//  Copyright © 2016 Jason Yuan. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TargetLevelViewDelegate <NSObject>

- (void)reloadTableView:(NSIndexPath *)indexPath;
- (void)sessionTimeOut;

@end

@interface TargetLevelView : UIView <UIPickerViewDelegate, UIPickerViewDataSource, UITextFieldDelegate>

@property (strong, nonatomic) UIView *targetLevelView;
@property (strong, nonatomic) UILabel *titleLabel1;
@property (strong, nonatomic) UILabel *titleLabel2;
@property (strong, nonatomic) UILabel *targetLabel;
@property (strong, nonatomic) UILabel *thresholdLabel;
@property (strong, nonatomic) UILabel *typeLabel;
@property (strong, nonatomic) UITextField *targetField;
@property (strong, nonatomic) UITextField *thresholdField;
@property (strong, nonatomic) UITextField *typeField;
@property (strong, nonatomic) UIButton *leftButton;
@property (strong, nonatomic) UIButton *rightButton;
@property (strong, nonatomic) UIButton *bottomButton;
@property (strong, nonatomic) UIView *buttonView;
@property (strong, nonatomic) UIButton *finishButton;
@property (strong, nonatomic) UIPickerView *typePickView;
@property (strong, nonatomic) NSArray *typeArray;
@property (strong, nonatomic) NSArray *dataArray;
@property (strong, nonatomic) NSIndexPath *currentIndexPath;
@property (assign, nonatomic) id<TargetLevelViewDelegate> delegate;

@end
